projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f673c9
)
ARM: versatile: pass correct machine type for Versatile AB
author
Linus Walleij
<
[email protected]
>
Wed, 27 Nov 2013 09:33:32 +0000
(10:33 +0100)
committer
Albert ARIBAUD
<
[email protected]
>
Mon, 13 Jan 2014 08:46:08 +0000
(09:46 +0100)
When U-Boot is configured for Versatile AB, it will still pass
the machine ID of Versatile PB to the kernel. After this simple
fix the system boots correctly.
Cc: Stefano Babic <
[email protected]
>
Cc: Marek Vasut <
[email protected]
>
Signed-off-by: Linus Walleij <
[email protected]
>
Acked-by: Marek Vasut <
[email protected]
>
Acked-by: Stefano Babic <
[email protected]
>
board/armltd/versatile/versatile.c
patch
|
blob
|
history
diff --git
a/board/armltd/versatile/versatile.c
b/board/armltd/versatile/versatile.c
index 30a3b904db4cc6e975ffa64f069b61b42baa0671..4e2d3421d8b13640c2d26246a4fa654e07660a3a 100644
(file)
--- a/
board/armltd/versatile/versatile.c
+++ b/
board/armltd/versatile/versatile.c
@@
-52,7
+52,11
@@
int board_early_init_f (void)
int board_init (void)
{
/* arch number of Versatile Board */
+#ifdef CONFIG_ARCH_VERSATILE_AB
+ gd->bd->bi_arch_number = MACH_TYPE_VERSATILE_AB;
+#else
gd->bd->bi_arch_number = MACH_TYPE_VERSATILE_PB;
+#endif
/* adress of boot parameters */
gd->bd->bi_boot_params = 0x00000100;